package com.owen.blog.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 文章内容
 */
public class ContentDO implements Serializable {
	private static final long serialVersionUID = 1L;

	// 文章id
	private String cid;
	// 封面
	private String cover;
	// 源码
	private String sourceCode;
	// 源码文件名
	private String sourceCodeFileName;
	// 源码文件下载次数
	private Long sourceDownloadCount;
	//标题
	private String title;
	//
	private String slug;
	//创建人id
	private String created;
	//最近修改人id
	private String modified;
	//内容
	private String content;
	//类型
	private String type;
	//标签
	private String tags;
	//分类
	private String categories;
	//
	private Integer hits;
	//评论数量
	private Integer commentsNum;
	//开启评论
	private Integer allowComment;
	//允许ping
	private Integer allowPing;
	//允许反馈
	private Integer allowFeed;
	//状态
	private Integer status;
	//作者
	private String author;
	//创建时间
	private Date gtmCreate;
	//修改时间
	private Date gtmModified;
	// 文章标签
	private List<String> blogLabelIds;

	/**
	 * 设置：
	 */
	public void setCid(String cid) {
		this.cid = cid;
	}
	/**
	 * 获取：
	 */
	public String getCid() {
		return cid;
	}

	/**
	 * 封面
	 * @return
	 */
	public String getCover() {
		return cover;
	}
	/**
	 * 封面
	 * @param cover
	 */
	public void setCover(String cover) {
		this.cover = cover;
	}

	/**
	 * 源码
	 * @return
	 */
	public String getSourceCode() {
		return sourceCode;
	}

	/**
	 * 源码
	 * @param sourceCode
	 */
	public void setSourceCode(String sourceCode) {
		this.sourceCode = sourceCode;
	}

	/**
	 * 源码文件名
	 * @return
	 */
	public String getSourceCodeFileName() {
		return sourceCodeFileName;
	}

	/**
	 * 源码文件名
	 * @param sourceCodeFileName
	 */
	public void setSourceCodeFileName(String sourceCodeFileName) {
		this.sourceCodeFileName = sourceCodeFileName;
	}

	/**
	 * 源码文件下载次数
	 * @return
	 */
	public Long getSourceDownloadCount() {
		return sourceDownloadCount;
	}

	/**
	 * 源码文件下载次数
	 * @param sourceDownloadCount
	 */
	public void setSourceDownloadCount(Long sourceDownloadCount) {
		this.sourceDownloadCount = sourceDownloadCount;
	}

	/**
	 * 设置：标题
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * 获取：标题
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * 设置：
	 */
	public void setSlug(String slug) {
		this.slug = slug;
	}
	/**
	 * 获取：
	 */
	public String getSlug() {
		return slug;
	}
	/**
	 * 设置：创建人id
	 */
	public void setCreated(String created) {
		this.created = created;
	}
	/**
	 * 获取：创建人id
	 */
	public String getCreated() {
		return created;
	}
	/**
	 * 设置：最近修改人id
	 */
	public void setModified(String modified) {
		this.modified = modified;
	}
	/**
	 * 获取：最近修改人id
	 */
	public String getModified() {
		return modified;
	}
	/**
	 * 设置：内容
	 */
	public void setContent(String content) {
		this.content = content;
	}
	/**
	 * 获取：内容
	 */
	public String getContent() {
		return content;
	}
	/**
	 * 设置：类型
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * 获取：类型
	 */
	public String getType() {
		return type;
	}
	/**
	 * 设置：标签
	 */
	public void setTags(String tags) {
		this.tags = tags;
	}
	/**
	 * 获取：标签
	 */
	public String getTags() {
		return tags;
	}
	/**
	 * 设置：分类
	 */
	public void setCategories(String categories) {
		this.categories = categories;
	}
	/**
	 * 获取：分类
	 */
	public String getCategories() {
		return categories;
	}
	/**
	 * 设置：
	 */
	public void setHits(Integer hits) {
		this.hits = hits;
	}
	/**
	 * 获取：
	 */
	public Integer getHits() {
		return hits;
	}
	/**
	 * 设置：评论数量
	 */
	public void setCommentsNum(Integer commentsNum) {
		this.commentsNum = commentsNum;
	}
	/**
	 * 获取：评论数量
	 */
	public Integer getCommentsNum() {
		return commentsNum;
	}
	/**
	 * 设置：开启评论
	 */
	public void setAllowComment(Integer allowComment) {
		this.allowComment = allowComment;
	}
	/**
	 * 获取：开启评论
	 */
	public Integer getAllowComment() {
		return allowComment;
	}
	/**
	 * 设置：允许ping
	 */
	public void setAllowPing(Integer allowPing) {
		this.allowPing = allowPing;
	}
	/**
	 * 获取：允许ping
	 */
	public Integer getAllowPing() {
		return allowPing;
	}
	/**
	 * 设置：允许反馈
	 */
	public void setAllowFeed(Integer allowFeed) {
		this.allowFeed = allowFeed;
	}
	/**
	 * 获取：允许反馈
	 */
	public Integer getAllowFeed() {
		return allowFeed;
	}
	/**
	 * 设置：状态
	 */
	public void setStatus(Integer status) {
		this.status = status;
	}
	/**
	 * 获取：状态
	 */
	public Integer getStatus() {
		return status;
	}
	/**
	 * 设置：作者
	 */
	public void setAuthor(String author) {
		this.author = author;
	}
	/**
	 * 获取：作者
	 */
	public String getAuthor() {
		return author;
	}
	/**
	 * 设置：创建时间
	 */
	public void setGtmCreate(Date gtmCreate) {
		this.gtmCreate = gtmCreate;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getGtmCreate() {
		return gtmCreate;
	}
	/**
	 * 设置：修改时间
	 */
	public void setGtmModified(Date gtmModified) {
		this.gtmModified = gtmModified;
	}
	/**
	 * 获取：修改时间
	 */
	public Date getGtmModified() {
		return gtmModified;
	}

	public List<String> getBlogLabelIds() {
		return blogLabelIds;
	}

	public void setBlogLabelIds(List<String> blogLabelIds) {
		this.blogLabelIds = blogLabelIds;
	}
}
